package com.example.myapplication;

public class User {

    public String name; //用户名
    public String psw; //密码
    public String email;//电子邮箱

    public User(String name, String psw,String email)
    {
        this.name = name;
        this.psw = psw;
        this.email = email;
    }

    public String getName() {
        return name;
    }

    public String getPsw() {
        return psw;
    }

    public String getEmail() {
        return email;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPsw(String psw) {
        this.psw = psw;
    }

    public void setEmail(String email) {
        this.psw = email;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", psw='" + psw + '\'' +
                ", email='" + email + '\'' +
                '}';
    }
}
